package com.sservice.service.service;

import com.sservice.model.entity.OtherReceivablesLog;
import com.sservice.model.vo.OtherReceivablesLogVo;

import java.util.List;

/**
 * Created by suweiming on 2017/12/20.
 */

public interface OtherReceivablesLogService {
    int deleteByPrimaryKey(Integer id);

    int insert(OtherReceivablesLog record);

    int insertSelective(OtherReceivablesLog record);

    OtherReceivablesLog selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OtherReceivablesLog record);

    int updateByPrimaryKey(OtherReceivablesLog record);

    /**
     * 分页统计
     *
     * @param record
     * @return
     */
    int queryByCount(OtherReceivablesLog record);

    /**
     * 分页查询
     *
     * @param record
     * @return
     */
    List<OtherReceivablesLogVo> queryByPage(OtherReceivablesLog record);
}
